package com.akuhome.resource.dao;

import com.akuhome.resource.DO.Approve;
import com.akuhome.resource.enums.NeedType;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ApproveDao {
    List<Approve> findApproveByProjectUid(String uid);
    Approve findApproveByProjectUidAndApproveType(String projectUid, NeedType approveType);
    void insertApprove(Approve approve);
    void insertApproves(List<Approve> approveList);
    void updateApprove(Approve approve);
}
